package com.kqb.mapper;


import com.kqb.common.curd.IBaseMapper;
import com.kqb.pojo.Dict;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DictMapper extends IBaseMapper<Dict> {

    int selectByName(String name);

    List<Dict> selectAll();

    List<Dict> selectByPid(Integer pid);

    int selectByParentId(Integer id);

    List<Dict> selectByCode(String code);
}